#include <iostream>

using namespace std;

/**
 * 栈内存数组
 */
void test() {
    int arr[12] = {1, 2, 3, 4, 5, 6, 7};
    for (int i = 0; i < 12; i++) {
        cout << arr[i] << " ";
    }
    cout << endl;
}

void test2() {
    int* arr = (int*)malloc(sizeof(int) * 12);
    
    free(arr);
}

int main() {
    test();
    return 0;
}